<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $scheme_id 方案ID
 * @property int $robot_id 机器人ID
 * @property string $room_wxid 群微信id
 * @property int $user_id 用户ID
 * @property string $day 创建日期
 * @property int $type 类型：0=关键词拉群 1=标签拉群 2=批量群邀请
 * @property string $created_at 创建时间
 */
class ChRoomInviteLog extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_room_invite_log';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'scheme_id', 'robot_id', 'room_wxid', 'user_id', 'day', 'type', 'created_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'scheme_id' => 'integer', 'robot_id' => 'integer', 'user_id' => 'integer', 'type' => 'integer'];
}
